package cn.car91.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户类
 *
 * @author 周海刚
 * @Date 2041.9.11
 */
public class User implements Serializable {
    private int uid;    //数据库标识
    private String id;//网页标识，12位编码
    private String name;    //用户名
    private String relname;//真实姓名
    private String birthday;//生日
    private int sex = 0;//0保密，1男，2女
    private String mobile;//手机号
    private String email;    //邮箱账号
    private String weixin;//微信账号
    private Date regtime;//注册时间
    private String idcard;//身份证号
    private String pic;    //头像
    private String address;//地址
    private String zipcode;//邮编
    private String idcardurl;//身份证图片
    private Boolean emailcheck;    //邮箱验证
    private Boolean mobilecheck;//手机验证
    private Boolean idcardcheck;//身份证验证
    private Integer score;    //用户积分，活动可用
    private Integer state;
    private Integer grade;    //用户等级
    private Date lastlogin;//最后登录时间
    private String lastip;    //最后登录ip

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public Date getRegtime() {
        return regtime;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getIdcardurl() {
        return idcardurl;
    }

    public void setIdcardurl(String idcardurl) {
        this.idcardurl = idcardurl;
    }

    public Boolean getMobilecheck() {
        return mobilecheck;
    }

    public void setMobilecheck(Boolean mobilecheck) {
        this.mobilecheck = mobilecheck;
    }

    public Boolean getIdcardcheck() {
        return idcardcheck;
    }

    public void setIdcardcheck(Boolean idcardcheck) {
        this.idcardcheck = idcardcheck;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Date getLastlogin() {
        return lastlogin;
    }

    public void setLastlogin(Date lastlogin) {
        this.lastlogin = lastlogin;
    }

    public String getLastip() {
        return lastip;
    }

    public void setLastip(String lastip) {
        this.lastip = lastip;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getEmailcheck() {
        return emailcheck;
    }

    public void setEmailcheck(Boolean emailcheck) {
        this.emailcheck = emailcheck;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRelname() {
        return relname;
    }

    public void setRelname(String relname) {
        this.relname = relname;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}